package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.SessionMessage;
import org.springframework.ai.chat.messages.Message;

import java.util.List;

public interface SessionMessageService extends IService<SessionMessage> {

    void addSession(String conversationId, List<Message> messages);
    List<SessionMessage> getSessionMessageList(String sessionId);
    void deleteSessionMessage(String sessionId);
}
